package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 项目电梯关联模板
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_building_elevator_template_rele")
public class BuildingElevatorTemplateRele extends TenantEntity {
    /**
     * 小区id
     */
    @TableField(value = "building_id")
    private Long buildingId;

    /**
     * 模板层级号
     */
    @TableField(value = "template_num")
    private String templateNum;

    /**
     * 模板层级名称
     */
    @TableField(value = "template_name")
    private String templateName;

    /**
     * 层级级数
     */
    @TableField(value = "`level`")
    private Integer level;

    /**
     * 模板id
     */
    @TableField(value = "template_id")
    private Long templateId;

    /**
     * 父级id
     */
    @TableField(value = "parent_id")
    private Long parentId;
}
